package kr.or.kosta.otr.persistence.file;

import java.sql.SQLException;

import kr.or.kosta.otr.vo.FileVO;

//파일 인자값 이해안감...uploadFile,updateFile,deleteFile
public interface FileDao {
	void uploadFile(FileVO vo)throws SQLException;
	void updateFile(FileVO vo)throws SQLException;
	void deleteFile(int fileId)throws SQLException;
	void deleteFileByBoardId(int boardId)throws SQLException;
	String getOneFileName(int boardId) throws SQLException;
	FileVO getOneFileByBoardId(int boardId)throws SQLException;
	int fileExist(int boardId) throws SQLException;
}
